import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import Antd from "ant-design-vue";
import "ant-design-vue/dist/antd.css";
import { createPinia } from "pinia";
import "@/router/permissions.js";
import * as Icons from "@ant-design/icons-vue";

const app = createApp(App);
Object.keys(Icons).map((key) => {
  app.component(key, Icons[key]);
});

app.use(Antd).use(createPinia()).use(router).mount("#app");
